﻿using Nop.Plugin.Misc.Reservations.Models;
using System;
using System.Collections.Generic;

namespace Nop.Plugin.Misc.Reservations.Services 
{
    public interface IReservationService
    {
        #region Methods

        ReservationViewModel ReservationDaily(DateTime selectedDate, int productId, int quantity);
        ReservationViewModel SelectedSlot(DateTime selectedDay, int productId, int tableIndex, bool isCancelled);
        ReservationViewModel UpdatedBookedReservations(DateTime selectedDate);
        ReservationViewModel AddToCart(IDictionary<int, int> selectedItems);

        #endregion

        #region Validation

        //bool IsValidProducts(IDictionary<int, int> products);

        #endregion

        #region Utility

        IDictionary<int, int> StringToIntDictionary(IDictionary<string, string> items);

        #endregion
    }
}
